package com.example.designmode.adapter.classadapter


/**
 * 适配器
 *
 * @author zhouronghua
 * @time 2022/3/10 10:59 下午
 */
class SDCardAdapterImpl : TFCardImpl(), SDCardAdapter {

    override fun readSDCard(): String {
        println("适配器从TF卡读取信息")
        return readTFCard()
    }

    override fun writeSDCard(content: String) {
        println("适配器往TF卡写入内容$content")
        writeTFCard(content)
    }
}